package org.ibase4j.model.weixin;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import org.ibase4j.core.base.AppBaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 微信用户信息
 * </p>
 *
 * @author zoyee
 * @since 2018-08-08
 */
@ApiModel("微信用户信息")
@TableName("weixin_user")
@SuppressWarnings("serial")
public class WeixinUser extends AppBaseModel {

    @ApiModelProperty(value = "unionid")
	@TableField("union_id")
	private String unionId;
	
    @ApiModelProperty(value = "微信昵称")
	private String nickname;
	
    @ApiModelProperty(value = "性别（1男2女）")
	private Integer sex;
	
    @ApiModelProperty(value = "国家")
	private String country;
	
    @ApiModelProperty(value = "省份")
	private String province;
	
    @ApiModelProperty(value = "城市")
	private String city;
	
    @ApiModelProperty(value = "语言")
	private String language;
	
    @ApiModelProperty(value = "微信头像")
	@TableField("head_img_url")
	private String headImgUrl;
	
    @ApiModelProperty(value = "状态（1正常；2暂停服务；3终止服务）")
	private Integer status;
	
    @ApiModelProperty(value = "停止服务原因")
	private String reason;
	


	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}